package com.bank.model;

import java.math.BigDecimal;

public class Card {
    private String cid;
    private String type;
    private String balance;
    private String issueDate;
    private String limit;

    public Card() {
    }

    public Card(String cid, String type, String balance, String issueDate, String limit) {
        this.cid = cid;
        this.type = type;
        this.balance = balance;
        this.issueDate = issueDate;
        this.limit = limit;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public String getIssueDate() {
        return issueDate;
    }

    public void setIssueDate(String issueDate) {
        this.issueDate = issueDate;
    }

    public String getLimit() {
        return limit;
    }

    public void setLimit(String limit) {
        this.limit = limit;
    }

    @Override
    public String toString() {
        return "Card{" +
                "cid='" + cid + '\'' +
                ", type='" + type + '\'' +
                ", balance='" + balance + '\'' +
                ", issueDate='" + issueDate + '\'' +
                ", limit='" + limit + '\'' +
                '}';
    }
}
